package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Setter@Getter
public class Cases {
    //待处理
    public static final int STATE_NORMAL=0;
    //已处理
    public static final int STATE_DONE=1;

    private Long id;
    private String name;//报案人姓名
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date receiveTime;//发生时间
    private Employee employee;//接通员工
    private String sex;//报案人性别
    private String carNumber;//车牌号
    private int state=STATE_NORMAL;//状态
    private Integer tel;//联系电话
    private String address;//发生地点
    private String policySn;//保单编号

}